package com.jay.io.clazz;

import java.io.ObjectStreamField;
import java.io.Serializable;

//不是很清楚
public class ObjectStreamField1Cls {
public static void main(String[] args) {
	ObjectStreamField osf1 = new ObjectStreamField("i", int.class);
	System.out.println(osf1.getName());
	System.out.println(osf1.getOffset());
	System.out.println(osf1.getTypeCode());
	System.out.println(osf1.getType());
	System.out.println(osf1.getTypeString());
	System.out.println(osf1.isPrimitive());
	

	osf1 = new ObjectStreamField("dasdfa", Save1.class);
	System.out.println(osf1.getName());
	System.out.println(osf1.getOffset());
	System.out.println(osf1.getTypeCode());
	System.out.println(osf1.getType());
	System.out.println(osf1.getTypeString());
	System.out.println(osf1.isPrimitive());
}
}

class Save1 implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private int i;
	private long l;
	private String ss;
}